Good morning,
I have a problem. I need to load a json in navision using http post request. But when I do it, it will give always error 400. I used postman and I put as function post, then the IP, then in authentication I used NTLM auth with domain\username:password, in header content-type application/json and in the body the json. But it gives me always error 400. Could you help me, please? I don't know if I need to create environments or not
Best regards
Hi
I don't understand what you said. Could you, please, help me better? I repeat I am using Postman to try to connect and I need to post a json
Bye
Good morning,
I have a problem. I need to load a json in navision using http post request. But when I do it, it will give always error 400. I used postman and I put as function post, then the IP, then in authentication I used NTLM auth with domain\username:password, in header content-type application/json and in the body the json. But it gives me always error 400. Could you help me, please? I don't know if I need to create environments or not
Best regards
[/quote]I'm using Postman, because I need to connect to webservice from Filemaker using curl options.
What is LightBulb?
Choose the Lightbulb that opens the Tell Me feature icon, enter Users, choose the related link, and then open the user account that you want to edit.
In the Web Service Access section, select the Web Service Access Key field.
In the Set the Web Service Access Key window, if you do not want the key to expire, select the Key Never Expires check box. If you want the key to expire, set the Key Expiration Date field to the date.
Choose the OK button.
The access key is automatically generated and appears in the Web Service Access Key field.
Hope it helps
I set function to "POST", I set webservice url as given by dynamics technicians; then I enter headers and I set "Content-type=application/json", authentication set to NTLM (I used it to get data and it ran properly), in body tab I set the json I need to post. But error 400 is always sent
Thank you fpr your question. But I have some doubts on what you said. Can you be better clear? When I connected to SAP webservice, I had no issues
Now what I receive is the following:
Good morning,
I have a problem. I need to load a json in navision using http post request. But when I do it, it will give always error 400. I used postman and I put as function post, then the IP, then in authentication I used NTLM auth with domain\username:password, in header content-type application/json and in the body the json. But it gives me always error 400. Could you help me, please? I don't know if I need to create environments or not
Best regards
[/quote]Thank you for reply, but I have an help. I'm using Postman, but I have never used Navision. I understand that I need to use basic auth, username is given by Nav technician, password also. Headers contain "content-type"= "application/json" and body contains the created json I need to send. am I right?
Try the authentication with a web service key instead. Set it up against the user record. Use the web service as the password with the user name you already have. On the http trigger set basic authentication.
Sohail Ahmed
1,234
YUN ZHU
1,006
Super User 2025 Season 1
Mansi Soni
872