Skip to main content
edited body
Source Link
7ochem
  • 7.6k
  • 16
  • 54
  • 82

We insert our JSON data in request body in this form:

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]" } 

As part of apiAPI implementation one method will be invoked when api urlAPI URL is trigged.

To that method interface write:

apiinvokedmethod($firstname, $secondname, $email) { } 

You can access value of $firstname automatically in the class where you implemented this interface class.

NOTE: The value of key in json and name of the method parameter should be equal.

We insert our JSON data in request body in this form:

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]" } 

As part of api implementation one method will be invoked when api url is trigged.

To that method interface write:

apiinvokedmethod($firstname, $secondname, $email) { } 

You can access value of $firstname automatically in the class where you implemented this interface class.

NOTE: The value of key in json and name of the method parameter should be equal.

We insert our JSON data in request body in this form:

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]" } 

As part of API implementation one method will be invoked when API URL is trigged.

To that method interface write:

apiinvokedmethod($firstname, $secondname, $email) { } 

You can access value of $firstname automatically in the class where you implemented this interface class.

NOTE: The value of key in json and name of the method parameter should be equal.

improve formatting
Source Link
Siarhey Uchukhlebau
  • 16.2k
  • 11
  • 57
  • 89

weWe insert our JSON DATAdata in REQUEST BODYrequest body in this form

{

"firstname":"vijay",

"secondname":"bokka",

"email":"[email protected]"

}

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]" } 

asAs part of api implementation one method will be invoked when api url is trigged.

toTo that method interface write

**apiinvokedmethod($firstname,$secondname,$email)

{:

}**

apiinvokedmethod($firstname, $secondname, $email) { } 

youYou can access value of '$firstname'$firstname automatically in the class where you implemented this interface class.

NOTE:NOTE: The value of KEYkey in json and name of the METHOD PARAMETEREmethod parameter should be equal.

we insert our JSON DATA in REQUEST BODY in this form

{

"firstname":"vijay",

"secondname":"bokka",

"email":"[email protected]"

}

as part of api implementation one method will be invoked when api url is trigged.

to that method interface write

**apiinvokedmethod($firstname,$secondname,$email)

{

}**

you can access value of '$firstname' automatically in the class where you implemented this interface class

NOTE:: The value of KEY in json and name of the METHOD PARAMETERE should be equal

We insert our JSON data in request body in this form:

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]" } 

As part of api implementation one method will be invoked when api url is trigged.

To that method interface write:

apiinvokedmethod($firstname, $secondname, $email) { } 

You can access value of $firstname automatically in the class where you implemented this interface class.

NOTE: The value of key in json and name of the method parameter should be equal.

added 18 characters in body
Source Link
vijay b
  • 362
  • 1
  • 5
  • 15

we insert our JSON DATA in REQUEST BODY in this form

{ "firstname"

"firstname":"vijay", "secondname"

"secondname":"bokka", "email"

"email":"[email protected]"   

}

as part of api implementation one method will be invoked when api url is trigged.

to that method interface write

apiinvokedmethod**apiinvokedmethod($firstname,$secondname,$email)

{

}**

you can access value of '$firstname''$firstname' automatically in the class where you implemented this interface class

NOTE:: The value of KEY in json and name of the METHOD PARAMETERE should be equal

we insert our JSON DATA in REQUEST BODY in this form

{ "firstname":"vijay", "secondname":"bokka", "email":"[email protected]"  }

as part of api implementation one method will be invoked when api url is trigged.

to that method interface write

apiinvokedmethod($firstname,$secondname,$email)

{

}

you can access value of '$firstname' automatically in the class where you implemented this interface class

NOTE:: The value of KEY in json and name of the METHOD PARAMETERE should be equal

we insert our JSON DATA in REQUEST BODY in this form

{

"firstname":"vijay",

"secondname":"bokka",

"email":"[email protected]" 

}

as part of api implementation one method will be invoked when api url is trigged.

to that method interface write

**apiinvokedmethod($firstname,$secondname,$email)

{

}**

you can access value of '$firstname' automatically in the class where you implemented this interface class

NOTE:: The value of KEY in json and name of the METHOD PARAMETERE should be equal

Source Link
vijay b
  • 362
  • 1
  • 5
  • 15
Loading