How do i post data to url with fields?

You have to build the array as the json array needs to be $args = array( ‘headers’ => array( ‘Content-Type’ => ‘application/json’, ‘Authorization’ => ‘Basic ‘.$apiKey ) ); $bdy = array( ‘fields’=> array( ‘project’ => array( ‘key’ =>’LD’ ), ‘summary’=> ‘CODING WORKS’, ‘description’ => ‘Creating of an issue using project keys and issue type names … Read more

register/login api

Is there support out of the box for this in WordPress or do you need to create a custom route etc? No, there is no endpoint for user login and registration. You would need to install an authentication plugin designed for remote auth such as the OAuth2 plugin, or wait until 5.6 adds application passwords. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)