blob: 1b6e65ee57db18d85fcd93b33253de8b0c7febab [file]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### example local orderSave
POST http://localhost:8884/order/save
Accept: application/json
Content-Type: application/json
{
"id": 123,
"name": "order"
}
### example local orderSave
GET http://localhost:8884/order/findById?id=123
Accept: application/json
Content-Type: application/json
### example local path
GET http://localhost:8884/order/path/123/hahah
Accept: application/json
Content-Type: application/json
### example local path
GET http://localhost:8884/order/path/123/name
Accept: application/json
Content-Type: application/json
### example local findByUserId
GET http://localhost:8884/test/findByUserId?userId=123
Accept: application/json
Content-Type: application/json
### example local not support
POST http://localhost:8884/new/feature/gateway/not
Accept: application/json
Content-Type: application/json
## must is success
### example local used request mapping path
POST http://localhost:8884/new/feature/request/mapping/path
Accept: application/json
Content-Type: application/json
### example local used request mapping path
GET http://localhost:8884/new/feature/request/mapping/path
Accept: application/json
Content-Type: application/json
### example local used get mapping path
GET http://localhost:8884/new/feature/get/mapping/path
Accept: application/json
Content-Type: application/json
### example local used post mapping path
POST http://localhost:8884/new/feature/post/mapping/path
Accept: application/json
Content-Type: application/json
### example local used put mapping path
PUT http://localhost:8884/new/feature/put/mapping/path
Accept: application/json
Content-Type: application/json
### example local used delete mapping path
DELETE http://localhost:8884/new/feature/delete/mapping/path
Accept: application/json
Content-Type: application/json
### example local used get mapping path [class annotation]
GET http://localhost:8884/class/annotation/get
Accept: application/json
Content-Type: application/json
### example local used post mapping path [class annotation]
POST http://localhost:8884/class/annotation/post
Accept: application/json
Content-Type: application/json
### shengyu local used upload file
POST http://localhost:8884/upload/file
Cache-Control: no-cache
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="1.txt";
Content-Type: multipart/form-data
< ../../../../shenyu-java-examples-common/src/main/resources/1.txt
--WebAppBoundary--