Announcements
Hi,
So I can get my api to work using Postman
But trying to replicate it in NAV is where i'm getting a 404 error.
There is a Path Parameter I need to pass
Within NAV I tried assigning a value to a variable 'order_id' thus giving me a url of
Even tried passing it to the header
is there a HttpwebRequest I'm missing ?
Many thanks in advance for any replies
Hi Mahesh,
I got a returned 404 not found
Service URL: mp-api-prepod.kingfisher.com/.../tracking
(PS... Thanks for Reply)
Hi,
Try adding the path variables at the end of URL
Something like below
Hi the url correct
mp-api-pre-prod.kingfisher.com/.../tracking
I will move the order around as suggested..
Thanks for reply ..
Yes I agree but I'm cannot see how to pass the order_id using HttpWebRequest
The first i notice is that your base url in the code must be incorrect.
That should probably end after /orders, you should verify that with the API documentation
The second thing is that i would set the headers after you have added the body.
Setting the body sometimes adds some default headers that you don't want there.
In Postman you're setting that in param section but in your code you've moved it to header section
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156