Home > Net >  .net rookie, a great god guidance, urgent urgent
.net rookie, a great god guidance, urgent urgent

Time:11-19

Just hired company recently sent me an interface documentation, call I write my own a set of program to invoke the relevant interface,
What all don't understand, ask for advice, urgent urgent


Interface link: https://note.youdao.com/ynoteshare1/index.html? Id=de6ac9b3ec43b12c8bbba7256d3cd8b1 & amp; type=notehttps://note.youdao.com/ynoteshare1/index.html? Id=ea0b974ff7b31cf96b4f108a526dff71 & amp; Type=note

CodePudding user response:

He is not told you all the links and the yao, you two get written in webapi, post method

CodePudding user response:

Simulation request call? WebClient HttpWebRequest, HttpClient, RestSharp what to wear

CodePudding user response:

Using HttpClient, the parameters in the step-by-step to interface address, look back to what type, really don't want to write code using the postman tool can also,

CodePudding user response:

That is to say he interfaces with you as long as the call, but before calling you are short of two things
1, obtained by the BIM data center to distribute the unique identification of the key, the key as a unique identifier platform identity Token

2, get SSO distributed authentication password, as the safety certification logo only bimapikey
The two things to ask old employees,
Join me write demo, use the ajax request:
This is the url:
$. Ajax ({
Url: "jwfs.test.spdspd.com/bim/api/v2/interface Controler name/the method name,"
Headers: {' Accept ':' application/json, 'Authorization' : 'Bearer' + Token },
Data: {bimapikey: bimapikey }
Success: the function () {

}});

CodePudding user response:

I'm just looking forward to your post to points well,,,,,,,,,,,,,,,,,,,,,

CodePudding user response:

The rabbit family - second brother reply:
That is to say he interfaces with you as long as the call, but before calling you are short of two things
1, obtained by the BIM data center to distribute the unique identification of the key, the key as a unique identifier platform identity Token

2, get SSO distributed authentication password, as the safety certification logo only bimapikey
The two things to ask old employees,
Join me write demo, use the ajax request:
This is the url:
$. Ajax ({
Url: "jwfs.test.spdspd.com/bim/api/v2/interface Controler name (controller is me to write? Or is looking for older workers take? /method name ( I don't know how to write a method here, he is not have more than one interface? Don't I want an interface to write a method? Can you give me to write about it? Means can you help me to write down all the complete, ok? Best give me to write a complete small demo, so that I can more clear understanding, please ). "
Headers: {' Accept ':' application/json, 'Authorization' : 'Bearer' + Token },
Data: {bimapikey: bimapikey }
Success: the function () {
(and here)
}});




CodePudding user response:

reference 1st floor wctmac123 response:
he is not told you all the links and the yao, you two get written in webapi, just post method

can you give me to write a complete little demo? I really what also forgot, ah, come on!

CodePudding user response:

Refer to 4th floor rabbit family - second brother reply:]
That is to say he interfaces with you as long as the call, but before calling you are short of two things
1, obtained by the BIM data center to distribute the unique identification of the key, the key as a unique identifier platform identity Token

2, get SSO distributed authentication password, as the safety certification logo only bimapikey
The two things to ask old employees,
Join me write demo, use the ajax request:
This is the url:
$. Ajax ({
Url: "jwfs.test.spdspd.com/bim/api/v2/interface Controler name (controller is me to write? Or is looking for older workers take? /method name ( I don't know how to write a method here, he is not have more than one interface? Don't I want an interface to write a method? Can you give me to write about it? Means can you help me to write down all the complete, ok? Best give me to write a complete small demo, so that I can more clear understanding, please ). "
Headers: {' Accept ':' application/json, 'Authorization' : 'Bearer' + Token },
Data: {bimapikey: bimapikey }
Success: the function () {
(and here)
}});




CodePudding user response:


Refer to 4th floor rabbit family - second brother reply:]
That is to say he interfaces with you as long as the call, but before calling you are short of two things
1, obtained by the BIM data center to distribute the unique identification of the key, the key as a unique identifier platform identity Token

2, get SSO distributed authentication password, as the safety certification logo only bimapikey
The two things to ask old employees,
Join me write demo, use the ajax request:
This is the url:
$. Ajax ({
Url: "jwfs.test.spdspd.com/bim/api/v2/interface Controler name (here refers to the other side of the controller and the method, such as jwfs.test.spdspd.com/search/index ). "
Headers: {' Accept ':' application/json, 'Authorization' : 'Bearer' + Token },
Data: {bimapikey: bimapikey }
Success: the function () {
Here is the result of a request method returns each other
}});




CodePudding user response:

Postman can simulate you simulate the first clear pass and get the json data, etc, and then write a get or post method to request it,,,

CodePudding user response:

Refer to 1st floor wctmac123 response:)
He is not told you all the links and the yao, you two get written in webapi, post method of the

can say again carefully point

CodePudding user response:

Could you please explain what you should know in a little, if anything do not understand, also not nobody take you, let you to do this, go to ask the old staff

CodePudding user response:

Refer to 12th floor banana rain fall response:]
You can entry shows how much you should know a little, if anything do not understand, not no one with you, let you to do this, go to ask the old staff


nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related