when I tray to connect
Add header for content-type with value set to application/json Do you have link to API Doc? Because seem that you are not encoding your JSON correctly too. You will probably use JSON body instead of parameters