Skip to main content
Solved

OpenAPI login error

  • Dec 28, 2020 5:45 PM UTC
  • 4 replies
  • 307 views
  • Translate All

Forum|alt.badge.img+1

Hello Everyone,

I’m trying to use OpenAPI to connect to Acumatica.

To follow below guideline to login Acumatica. I got a error message. 

https://help-2019r1.acumatica.com/Help?ScreenId=ShowWiki&pageid=0322492a-de9b-4443-b256-923c48aff31d 

Does anyone know how to fix it? I tried to post to http and https. Both returned same message. 

Error message:

{
    "message": "The requested resource does not support http method 'GET'."
}

Best answer by larryly

Post login request to HTTPS. Will response a 204 code with no content and cookie-set.  This is a success sign. Add those cookies in your next request.  Now your OpenAPI is ready to use. 

View original

4 replies

John Masi
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • Dec 28, 2020 8:33 PM UTC

I am far from a programmer but are you using GET when you should be using POST?

 

-John

Translate

Forum|alt.badge.img+1
  • Author
  • Semi-Pro III
  • Dec 28, 2020 8:42 PM UTC

I am far from a programmer but are you using GET when you should be using POST?

 

-John

I’m also confused with this. I’m sure it’s a POST.  

 

Translate

Forum|alt.badge.img+1
  • Author
  • Semi-Pro III
  • Jan 4, 2021 3:41 PM UTC

Working on solution

Translate

Forum|alt.badge.img+1
  • Author
  • Semi-Pro III
  • Answer
  • Jan 14, 2021 3:17 PM UTC

Post login request to HTTPS. Will response a 204 code with no content and cookie-set.  This is a success sign. Add those cookies in your next request.  Now your OpenAPI is ready to use. 

Translate