Skip to content

Commit 4ab9250

Browse files
authored
Merge pull request #1 from NWiddup/master
Fixes for URL & SQL Parameter
2 parents 8316f3d + 56d500a commit 4ab9250

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Now listening on: https://localhost:5001
9999
Using a REST Client (like [Insomnia](https://insomnia.rest/), [Postman](https://www.getpostman.com/) or curl), you can now call your API, for example:
100100

101101
```bash
102-
curl -k -X GET http://localhosts:5001/customer/123
102+
curl -k -X GET https://localhost:5001/customer/123
103103
```
104104

105105
and you'll get info on Customer 123:

SQL/WideWorldImportersUpdates.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ SET NOCOUNT ON;
105105
DECLARE @CustomerId INT = NEXT VALUE FOR Sequences.CustomerID;
106106
WITH [source] AS
107107
(
108-
SELECT @Id AS CustomerID, * FROM OPENJSON(@Json) WITH (
108+
SELECT @CustomerId AS CustomerID, * FROM OPENJSON(@Json) WITH (
109109
[CustomerName] NVARCHAR(100),
110110
[PhoneNumber] NVARCHAR(20),
111111
[FaxNumber] NVARCHAR(20),

0 commit comments

Comments
 (0)