It turns out you need to do authorization for the site (opencart) through the site neighboring (common database here and web services) and by Curl made a post request and received a token and employeeCode.
1. It turns out that I need to authorize and plus I need in the database so that the user is saved, such as authorization, which blocks the user.

It turns out after receiving these requests (I will try to correct my thoughts step by step, please) I have to get the data of the user by the employeeCode who received the password for the post request. employeeCode request get to send to get an array of json with user data?

Then write this data into variables of the fields required for registration using this query using send data to the database and create a record there? (still it is necessary that the user have a new one)?

After you already get the key of the user and save it in the header that would be authorized? Can I use a token as a key?
and am i thinking right?

  • And the base of goods and so on is common? - Alexander Semikashev
  • Well, what's the problem to connect to the base of the neighbors and not to bathe - Naumov
  • There you can go post-get through services only and unfortunately - Bistore.bi-group

0