XF 2.2 Posting via Postman to api/threads brings back list of threads and not add a thread

Dannymh

Active member
I am using postman to work with the API. In doing so I am trying to create a new thread.

When I POST to the thread endpoint it returns a list of threads rather than adding a new thread.

- API Key and scope
# thread:read
# thread:write

Request type: http/ POST
Endpoint: api/threads

XF-Api-Key: header in place

params: node_id, title, message


Not sure what I am doing wrong in that it is hitting the wrong end point and getting rather than posting
 
I am using postman to work with the API. In doing so I am trying to create a new thread.

When I POST to the thread endpoint it returns a list of threads rather than adding a new thread.

- API Key and scope
# thread:read
# thread:write

Request type: http/ POST
Endpoint: api/threads

XF-Api-Key: header in place

params: node_id, title, message


Not sure what I am doing wrong in that it is hitting the wrong end point and getting rather than posting
Never mind this was SSL set up. It was redirecting through NGINX as GET. Quick change on postman settings and nginx conf fixed it
 
Back
Top Bottom