Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@daisukenishino2
Last active November 27, 2019 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daisukenishino2/e62c59fb914952f3f3e27fb4cd7e4e51 to your computer and use it in GitHub Desktop.
Save daisukenishino2/e62c59fb914952f3f3e27fb4cd7e4e51 to your computer and use it in GitHub Desktop.
FrontendとResourceServerとの通信
POST http://localhost:8888/api/json/Delete HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 136
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
{"ddlDap":"SQL","ddlMode1":"individual","ddlMode2":"static","ddlExRollback":"-","shipper":{"shipperID":"7","companyName":"","phone":""}}
HTTP/1.1 200 OK
Content-Length: 24
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:57:09 GMT
{"message":"1件削除"}
POST http://localhost:8888/api/json/Insert HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 164
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
{"ddlDap":"SQL","ddlMode1":"individual","ddlMode2":"static","ddlExRollback":"-","shipper":{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"}}
HTTP/1.1 200 OK
Content-Length: 24
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:54:28 GMT
{"message":"1件追加"}
POST http://localhost:8888/api/json/Select HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 136
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
{"ddlDap":"SQL","ddlMode1":"individual","ddlMode2":"static","ddlExRollback":"-","shipper":{"shipperID":"1","companyName":"","phone":""}}
HTTP/1.1 200 OK
Content-Length: 97
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:53:02 GMT
{"message":"","result":{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"}}
POST http://localhost:8888/api/json/SelectAll_DR HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 62
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
ddlDap=SQL&ddlMode1=individual&ddlMode2=static&ddlExRollback=-
HTTP/1.1 200 OK
Content-Length: 249
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:50:08 GMT
{"message":"","result":[{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"},{"shipperID":"2","companyName":"United Package","phone":"(503) 555-3199"},{"shipperID":"3","companyName":"Federal Shipping","phone":"(503) 555-9931"}]}
POST http://localhost:8888/api/json/SelectAll_DS HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 62
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
ddlDap=SQL&ddlMode1=individual&ddlMode2=static&ddlExRollback=-
HTTP/1.1 200 OK
Content-Length: 249
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:48:25 GMT
{"message":"","result":[{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"},{"shipperID":"2","companyName":"United Package","phone":"(503) 555-3199"},{"shipperID":"3","companyName":"Federal Shipping","phone":"(503) 555-9931"}]}
POST http://localhost:8888/api/json/SelectAll_DSQL HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 93
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
ddlDap=SQL&ddlMode1=individual&ddlMode2=static&ddlExRollback=-&OrderColumn=c1&OrderSequence=A
HTTP/1.1 200 OK
Content-Length: 249
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:51:28 GMT
{"message":"","result":[{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"},{"shipperID":"2","companyName":"United Package","phone":"(503) 555-3199"},{"shipperID":"3","companyName":"Federal Shipping","phone":"(503) 555-9931"}]}
POST http://localhost:8888/api/json/SelectAll_DT HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 62
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
ddlDap=SQL&ddlMode1=individual&ddlMode2=static&ddlExRollback=-
HTTP/1.1 200 OK
Content-Length: 249
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:47:17 GMT
{"message":"","result":[{"shipperID":"1","companyName":"Speedy Express","phone":"(503) 555-9831"},{"shipperID":"2","companyName":"United Package","phone":"(503) 555-3199"},{"shipperID":"3","companyName":"Federal Shipping","phone":"(503) 555-9931"}]}
POST http://localhost:8888/api/json/SelectCount HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 62
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
ddlDap=SQL&ddlMode1=individual&ddlMode2=static&ddlExRollback=-
HTTP/1.1 200 OK
Content-Length: 45
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:44:59 GMT
{"message":"3件のデータがあります"}
POST http://localhost:8888/api/json/Update HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 152
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/crudsample
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
{"ddlDap":"SQL","ddlMode1":"individual","ddlMode2":"static","ddlExRollback":"-","shipper":{"shipperID":"7","companyName":"hogehoge","phone":"hogehoge"}}
HTTP/1.1 200 OK
Content-Length: 24
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:55:52 GMT
{"message":"1件更新"}
GET http://localhost:8888/api/sampledata/weatherforecasts?startDateIndex=1 HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Accept: */*
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/fetchdata
Accept-Encoding: gzip, deflate, br
Accept-Language: ja,en-US;q=0.9,en;q=0.8
HTTP/1.1 200 OK
Content-Length: 419
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Wed, 27 Nov 2019 02:40:04 GMT
[{"dateFormatted":"2019/11/29","temperatureC":-1,"summary":"Cool","temperatureF":31},{"dateFormatted":"2019/11/30","temperatureC":-7,"summary":"Mild","temperatureF":20},{"dateFormatted":"2019/12/01","temperatureC":9,"summary":"Hot","temperatureF":48},{"dateFormatted":"2019/12/02","temperatureC":20,"summary":"Hot","temperatureF":67},{"dateFormatted":"2019/12/03","temperatureC":8,"summary":"Chilly","temperatureF":46}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment