can you please post the actual requests you sent. For POST and for GET
You can’t use the same request and just change GET -> POST or vice versa.
Please see: https://docs.zammad.org/en/latest/api-user.html
As you can see an your URL you are using HTTP. So you just need to open Port 80 or, if you use no WebServer (as nginx for example) you need to enable Port 3000. There is no special trick.
my GET request send is pretty much the same as in the api introduction (except the -v for http status). I testet it again right now, it returns HTTP 200 and the expected userdata:
The POST request send (took away the -i from earlier, because it didnt change anything on the outcome, also added one " behind the token, because i accidentally deleted them earlier, while editing the token. This is copied from my used command, only changed the mail and the token). :
Below you see the HTTP return of the same command (copied & pasted) on two different machines. On the left you can see the response when send from the CentOS 7 server. On the right you see the HTTP return when send from my Windows 10 PC (other subnet, but Port 3000 is open).
I dont se any request which results in status 400, these would be logged there. Also I don’t se the endpoint you use.
Are you sure the requests are processed or did you just pasted the wrong image?
Ok, i will look further into encoding problems and do some more testing if this is not a known problem with zammad / the JSON API.
I just find it strange that JSON POST requests don’t seem to work on other machines in our network besides the CentOS cfs-zammad server, so i figured it would have to do something with the server handling the request.
Thank you for your time Hannes. If you learn something new regarding this problem i would appreciate it, if you could inform me.