0

I have a problem with satellizer api signup, when call the method $auth.signup(user) in my backend made with CodeIgniter I can't retrieve the values sent in user.

I tried everything

The methos of my library REST for options call

$this->options('name'); // this is null

link library

I tried get payload manually with this

$request_body = file_get_contents('php://input');

$data = json_decode($request_body); //this is null too

I don't know that can be please, help me!

Thank you all!! Best regards.

German
  • 413
  • 4
  • 15

1 Answers1

0

I fixed and the solutions is here

Summarizing, the browser send two request one OPTIONS for check if the server accept custom headers and after request POST with data.

Thanks for your time!

German
  • 413
  • 4
  • 15