Skip to content

Commit 949df07

Browse files
committed
Update README.md
1 parent afe0326 commit 949df07

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ netlify dev
6565

6666
### **Configuration**
6767

68-
The `**netlify.toml**` file contains the configuration for the edge functions. Each function is mapped to a specific endpoint:
68+
The `netlify.toml` file contains the configuration for the edge functions. Each function is mapped to a specific endpoint:
6969

7070
```toml
7171
[build]
@@ -120,7 +120,7 @@ Use a tool like Postman or curl to make a request:
120120

121121
```bash
122122
curl -X POST \
123-
https://localhost/api/analyze-image \
123+
https://image-api-edge-function-demo.netlify.app/api/analyze-image \
124124
-F 'file=@/path/to/image.jpg'
125125
```
126126

@@ -151,7 +151,7 @@ Use a tool like Postman or curl to make a request:
151151

152152
```bash
153153
curl -X POST \
154-
https://localhost/api/convert-image \
154+
https://image-api-edge-function-demo.netlify.app/api/convert-image \
155155
-F 'file=@/path/to/image.jpg' \
156156
-F 'targetFormat=png'
157157
```
@@ -177,7 +177,7 @@ Use a tool like Postman or curl to make a request:
177177

178178
```bash
179179
curl -X POST \
180-
https://localhost/api/crop-image \
180+
https://image-api-edge-function-demo.netlify.app/api/crop-image \
181181
-F 'file=@/path/to/image.jpg' \
182182
-F 'x=10' \
183183
-F 'y=10' \
@@ -202,7 +202,7 @@ Use a tool like Postman or curl to make a request:
202202

203203
```bash
204204
curl -X POST \
205-
https://localhost/api/edge-enhance \
205+
https://image-api-edge-function-demo.netlify.app/api/edge-enhance \
206206
-F 'file=@/path/to/image.jpg'
207207
```
208208

@@ -225,7 +225,7 @@ Use a tool like Postman or curl to make a request:
225225

226226
```bash
227227
curl -X POST \
228-
https://localhost/api/generate-thumbnail \
228+
https://image-api-edge-function-demo.netlify.app/api/generate-thumbnail \
229229
-F 'file=@/path/to/image.jpg' \
230230
-F 'width=100' \
231231
-F 'height=100'
@@ -248,7 +248,7 @@ Use a tool like Postman or curl to make a request:
248248

249249
```bash
250250
curl -X POST \
251-
https://localhost/api/image-dimensions \
251+
https://image-api-edge-function-demo.netlify.app/api/image-dimensions \
252252
-F 'file=@/path/to/image.jpg'
253253
```
254254

@@ -279,7 +279,7 @@ Use a tool like Postman or curl to make a request:
279279

280280
```bash
281281
curl -X POST \
282-
https://localhost/api/resize-image \
282+
https://image-api-edge-function-demo.netlify.app/api/resize-image \
283283
-F 'file=@/path/to/image.jpg' \
284284
-F 'width=800' \
285285
-F 'height=600'

0 commit comments

Comments
 (0)