Skip to content

Commit 00ff187

Browse files
committed
Add startup banner
1 parent 81ff315 commit 00ff187

File tree

5 files changed

+117
-172
lines changed

5 files changed

+117
-172
lines changed

AlbumViewer.websurge

+76-113
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
GET http://localhost:5005/api/albums HTTP/1.1
1+
GET /api/artists HTTP/1.1
22
Accept-Encoding: gzip,deflate
33
Accept: application/json
44
Websurge-Request-Inactive: 1
5-
Websurge-Request-Name: Album List
5+
Websurge-Request-Name: Artist List
66

77
------------------------------------------------------------------
88

9-
GET http://localhost:5005/api/albums?page=2&pageSize=2 HTTP/1.1
9+
GET /api/albums HTTP/1.1
1010
Accept-Encoding: gzip,deflate
1111
Accept: application/json
1212
Websurge-Request-Inactive: 1
13-
Websurge-Request-Name: AlbumList Paged
13+
Websurge-Request-Name: Album List
1414

1515
------------------------------------------------------------------
1616

17-
GET http://albumviewerlocal.west-wind.com/api/artists HTTP/1.1
17+
GET /api/albums?page=2&pageSize=2 HTTP/1.1
1818
Accept-Encoding: gzip,deflate
1919
Accept: application/json
2020
Websurge-Request-Inactive: 1
21-
Websurge-Request-Name: Artist List
21+
Websurge-Request-Name: AlbumList Page
2222

2323
------------------------------------------------------------------
2424

25-
GET http://localhost:5005/api/album/3 HTTP/1.1
25+
GET /api/album/37 HTTP/1.1
2626
Accept-Encoding: gzip,deflate
2727
Accept: application/json
2828
Websurge-Request-Inactive: 1
2929
Websurge-Request-Name: Single Album
3030

3131
------------------------------------------------------------------
3232

33-
POST https://localhost:5005/api/album HTTP/1.1
33+
POST https://localhost:5001/api/album HTTP/1.1
3434
Accept-Encoding: gzip,deflate
3535
Accept: application/json
3636
Content-Type: application/json
@@ -128,20 +128,14 @@ Websurge-Request-Name: Update Album
128128
}
129129
]
130130
}
131-
HTTP/1.1
132-
Transfer-Encoding: chunked
133-
Content-Type: application/json; charset=utf-8
134-
Date: Mon, 30 Mar 2020 21:01:40 GMT
135-
Server: Microsoft-IIS/10.0
136-
X-Powered-By: ASP.NET
137-
138-
{"message":"You have to be logged in to modify data","isError":true,"detail":null,"data":null,"errors":null}
139131

140132
------------------------------------------------------------------
141133

142-
POST http://localhost:5005/api/posttrack HTTP/1.1
134+
POST /api/posttrack HTTP/1.1
143135
Accept-Encoding: gzip,deflate
144136
Accept: application/json
137+
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0IiwianRpIjoiMjI1OGZmZGMtMTcyOC00YTE3LTk2ZGItZmM0YzlmZDM1ODhkIiwiVXNlclN0YXRlIjoiVGVzdCBVc2VyfHRlc3R8fEZhbHNlfDF8bnVsbHxlNTg2YmQzYSIsImV4cCI6MTYzMzgyNDk5MCwiaXNzIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIiwiYXVkIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIn0.rDee23UuVqyYr-btYUvLPxCPC_8GBVIYfyJxKqrnAGk",
138+
User-Agent: West Wind HTTP .NET Client
145139
Content-Type: application/json
146140
Websurge-Request-Inactive: 1
147141
Websurge-Request-Name: Update Track
@@ -151,76 +145,18 @@ Websurge-Request-Name: Update Track
151145
"SongName": "End of the Silence",
152146
"ArtistId": 10
153147
}
154-
HTTP/1.1
155-
Transfer-Encoding: chunked
156-
Content-Type: text/html
157-
Date: Mon, 30 Mar 2020 21:01:52 GMT
158-
Server: Microsoft-IIS/10.0
159-
X-Powered-By: ASP.NET
160-
161-
<!DOCTYPE html>
162-
<html>
163-
<head>
164-
<base href="/" >
165-
<meta charset="utf-8">
166-
167-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
168-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
169-
<meta name="description" content="Web Connection Albumviewer Sample Application">
170-
171-
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
172-
<meta name="apple-mobile-web-app-capable" content="yes" />
173-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
174-
<link rel="apple-touch-icon" href="touch-icon.png" />
175-
176-
<link rel="icon" href="touch-icon.png" />
177-
<meta name="msapplication-TileImage" content="touch-icon.png">
178-
<title>West Wind Album Viewer</title>
179-
<style>
180-
/* put here to avoid delay loaded css stylesheet for loading image */
181-
#Loader-Block {
182-
font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
183-
font-size: 16px;
184-
position: absolute;
185-
width: 300px;
186-
margin-left: -135px;
187-
top: 30%;
188-
left: 50%;
189-
background: #444;
190-
color: white;
191-
padding: 20px;
192-
border-radius: 4px;
193-
text-align: center;
194-
z-index: 1000;
195-
box-shadow: 4px 4px 6px #535353;
196-
}
197-
</style>
198-
<link rel="stylesheet" href="styles.a35f2ac060eeb9d8a09a.css"></head>
199-
<body>
200-
201-
<app-root>
202-
<div id="Loader-Block" class="center-block">
203-
<img src="touch-icon.png" style="height: 65px" class="pull-left"/>
204-
<i class="fa fa-circle-o-notch fa-5x fa-spin"></i>
205-
206-
<p style="clear: both;font-size: 1.5em; margin-top: 20px;">Getting things ready...</p>
207-
</div>
208-
</app-root>
209-
210-
<script src="runtime.a8ef3a8272419c2e2c66.js" defer></script><script src="polyfills-es5.89d26f178be05ba2e3cb.js" nomodule defer></script><script src="polyfills.312b52cb27b220c62ec1.js" defer></script><script src="scripts.7bd68d4423a1ac627fe9.js" defer></script><script src="main.f5a2ea3ed905c32893cd.js" defer></script></body>
211-
</html>
212148

213149
------------------------------------------------------------------
214150

215-
GET http://localhost:5005/api/artist/7 HTTP/1.1
151+
GET /api/artist/33 HTTP/1.1
216152
Accept-Encoding: gzip,deflate
217153
Accept: application/json
218154
Websurge-Request-Inactive: 1
219155
Websurge-Request-Name: Single Artist
220156

221157
------------------------------------------------------------------
222158

223-
POST http://localhost:5005/api/album HTTP/1.1
159+
POST /api/album HTTP/1.1
224160
Accept-Encoding: gzip,deflate
225161
Accept: application/json
226162
Content-Type: application/json
@@ -257,48 +193,55 @@ Websurge-Request-Name: Update Album
257193

258194
------------------------------------------------------------------
259195

260-
POST https://localhost:5005/api/artist HTTP/1.1
196+
POST /api/artist HTTP/1.1
261197
Accept: application/json
198+
Accept-Encoding: gzip,deflate
199+
Authorization: Bearer
262200
User-Agent: West Wind HTTP .NET Client
263-
Content-Type: application/json
264-
Accept-Encoding: gzip, deflate
201+
Content-Type: application/json; charset=utf-8
265202
Websurge-Request-Inactive: 1
266203
Websurge-Request-Name: Update Artist
267204

268-
{"Id":7,"ArtistName":"Attitude","Description":"Attitude was founded by members from Attitude Adjustment including Andy Anderson, Chris Scapparo and Rick Strahl and joined by Keith Chattam of Condemned after a short stint as Condemned Attitude. Attitude play heavy cross-over punk/metal that was a favorite in the San Francisco Bay area but sadly never reach much visibility outside of it due to a lack of touring. \n\nThe band produced three EPs that were well received by critics but didn't manage to ignite a more mainstream following. The band's heavy cross over style and energetic stage show made for exciting shows around the Bay Area as well as on their one and only European tour. The band didn't last very long and in 1988 dissolved to form a new band Two Bit Thief which had a more rock'n roll leaning sound.","ImageUrl":"http://west-wind.com/rick/photoalbum/band/ruthiesjumpwithandy.jpg","AmazonUrl":""}
205+
{
206+
"Id": 33,
207+
"ArtistName": "Anti-Trust",
208+
"Description": "Anti-Trust is a side project by...",
209+
"ImageUrl": "https://anti-trust.rocks/images/Photo6.jpg",
210+
"AmazonUrl": "https://anti-trust.rocks"
211+
}
269212

270213
------------------------------------------------------------------
271214

272-
DELETE http://localhost:5005/api/deletealbum/1670 HTTP/1.1
215+
DELETE /api/deletealbum/1670 HTTP/1.1
273216
Accept-Encoding: gzip,deflate
274217
Accept: application/json
275218
Websurge-Request-Inactive: 1
276219
Websurge-Request-Name: Delete Album
277220

278221
------------------------------------------------------------------
279222

280-
GET http://localhost:5005/api/artistlookup?search=M HTTP/1.1
223+
GET /api/artistlookup?search=M HTTP/1.1
281224
Accept-Encoding: gzip,deflate
282225
Accept: application/json
283226
Websurge-Request-Inactive: 1
284227
Websurge-Request-Name: Artist Lookup (auto complete search)
285228

286229
------------------------------------------------------------------
287230

288-
GET http://localhost:5005/api/test/HelloWorld HTTP/1.1
231+
GET /api/test/HelloWorld HTTP/1.1
289232
Accept-Encoding: gzip,deflate
290233
Accept: application/json
291234
Websurge-Request-Inactive: 1
292235
Websurge-Request-Name: Helloworld
293236

294237
------------------------------------------------------------------
295238

296-
POST http://localhost:5005/api/album HTTP/1.1
239+
POST /api/album HTTP/1.1
297240
Accept: application/json, text/plain, */*
298-
Origin: http://localhost:5005
241+
Origin:
299242
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
300243
Content-Type: application/json;charset=UTF-8
301-
Referer: http://localhost:5005/index.html
244+
Referer: /index.html
302245
Accept-Encoding: gzip, deflate
303246
Accept-Language: en-US,en;q=0.8,de-DE;q=0.6,de;q=0.4,ar;q=0.2,zh-CN;q=0.2,zh;q=0.2,es-419;q=0.2,es;q=0.2
304247
Cookie: ttw=6B55E0DA47D2FD53E74BC6435FE916B0F518F2B570B2B696677594F3201E45FCC69D54193C36BEBE933B80C79110E7F6AF6A294CABF4494E198BFCE26E49D785E047B746592BD8D24713B4A6B70F0A3A3A717D17D51FD689BD2CA914404D924BC48C9004A27344D2D91017F077BE829E04F7503CF1ED672AA6A6A6830F6BC5EE1FB51A430EEB30A45450FF9C075157C0A2AF44A4FBF8579F1AA024168C149F5FF1461422F2AB95909829828F9DDDEE44E8D9C59CDFA9BC1A460044CFB19AEDC2; _ga=GA1.1.1182485252.1431156842
@@ -309,48 +252,61 @@ Websurge-Request-Name: Add new bogus album
309252

310253
------------------------------------------------------------------
311254

312-
DELETE http://localhost:5005/api/deleteartist?id=1710 HTTP/1.1
255+
DELETE /api/artist/29 HTTP/1.1
313256
Accept-Encoding: gzip,deflate
314257
Accept: application/json
258+
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0IiwianRpIjoiODRiYWM3YmYtZTZhZS00NzQ5LWJkNjItYzMzMGM4ZmZhZjk5IiwiVXNlclN0YXRlIjoiVGVzdCBVc2VyfHRlc3R8fEZhbHNlfDF8bnVsbHxkZDkxNTM0MyIsImV4cCI6MTYzMjYzNTQ1MSwiaXNzIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIiwiYXVkIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIn0.31kheFnnjYBaJ1CA7dyjkNVluk6iv_m8dyDvREdpdJ8
259+
User-Agent: West Wind HTTP .NET Client
315260
Websurge-Request-Inactive: 1
316261
Websurge-Request-Name: Delete Artist
317262

318263
------------------------------------------------------------------
319264

320-
POST http://localhost:5005/api/login HTTP/1.1
321-
Accept-Encoding: gzip,deflate
265+
POST /api/authenticate HTTP/1.1
266+
Accept: application/json
267+
Accept-Encoding: gzip, deflate, br
322268
Content-Type: application/json
269+
Authorization: Bearer
323270
Websurge-Request-Inactive: 1
324271
Websurge-Request-Name: Login
325272

326273
{
327-
Username: "[email protected]",
328-
Password: "ww"
274+
"username": "test",
275+
"password": "test"
329276
}
330277

331278
------------------------------------------------------------------
332279

333-
GET http://localhost:5005/api/logout HTTP/1.1
334-
Accept-Encoding: gzip,deflate
280+
POST /api/authenticate_NEW HTTP/1.1
281+
Accept: application/json
282+
Accept-Encoding: gzip, deflate, br
283+
Content-Type: application/json
335284
Websurge-Request-Inactive: 1
336-
Websurge-Request-Name: Logout
285+
Websurge-Request-Name: Login Invalid URL
286+
287+
{
288+
"username": "test",
289+
"password": "test"
290+
}
337291

338292
------------------------------------------------------------------
339293

340-
GET http://localhost:5005/index.html HTTP/1.1
294+
GET /api/logout HTTP/1.1
341295
Accept-Encoding: gzip,deflate
342-
Websurge-Request-Name: index page
296+
Websurge-Request-Inactive: 1
297+
Websurge-Request-Name: Logout
343298

344299
------------------------------------------------------------------
345300

346-
GET http://localhost:5005/runtime.a66f828dca56eeb90e02.js HTTP/1.1
301+
GET /index.html HTTP/1.1
347302
Accept-Encoding: gzip,deflate
348-
Websurge-Request-Name: Script
303+
Websurge-Request-Name: index page
349304

350305
------------------------------------------------------------------
351306

352-
GET http://localhost:5005/api/artistlookup?search=S HTTP/1.1
307+
GET /api/artistlookup?search=S HTTP/1.1
353308
Accept-Encoding: gzip,deflate
309+
Websurge-Request-Inactive: 1
354310
Websurge-Request-Name: Artist Lookup (Typeahead)
355311

356312
------------------------------------------------------------------
@@ -371,36 +327,43 @@ Referer: http://localhost:4200/album/edit/15
371327
Accept-Encoding: gzip, deflate, br
372328
Accept-Language: en-US,en;q=0.9
373329
Cookie: __utmz=111872281.1557000280.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); WebStoreUser=; _ga=GA1.1.1593582071.1557000280; weblog_user=Rick Strahl; [email protected]; ww_wl=EMmL0YXjCIwLIywM; __utma=111872281.1593582071.1557000280.1575622517.1576662402.31; testvalue=NewValue; ftdb-state=1
330+
Websurge-Request-Inactive: 1
331+
Websurge-Request-Name: POST Album
374332

375333
{"Id":15,"Title":"Blind","Description":"To call this album a rock album would almost be an insult. Some people call it punk/hardcore, but to me it will always be metal. And now that I've pigeonholed this CD to death, I'll move on to the music. Corrosion Of Conformity serves up some unforgiving, politically motivated anger with Blind. The guitar tone has a punishing crunch that has been hard to parallel in my mind. With the bass pushing that crunch, this is one heavy listen... I love it! Nothing will guarantee you a speeding ticket quicker than 'Dance Of The Dead' or 'Mine Are The Eyes Of God'. 'Vote With A Bullet' spells out COC's political views very clearly, and also manages to wrap it up in one awesome tune! Even the slowest song on the CD, 'Echoes In The Well', manages to churn out some dark and brooding overtones. Every single song on here is heavy and uncompromising. The lyrics are very poignant and intelligent. Amidst so many bands who, lately like to pose as revolutionary, Corrosion Of Conformity take a shot at 'The Man' that is, without dispute, the most real and profound yet. A lot of bands have come and gone, taking some inspiration from Corrosion Of Conformity, yet these guys continue to go on (granted under a different style). This CD represents the high point of their songwriting and musical career.","Year":1986,"ImageUrl":"https://images-na.ssl-images-amazon.com/images/I/41rsmZTWh9L._SL250_.jpg","AmazonUrl":"https://www.amazon.com/gp/product/B0013D8FJG/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0013D8FJG&linkCode=as2&tag=westwindtechn-20&linkId=Q6ECTNHUXDX45GG5","SpotifyUrl":"https://play.spotify.com/album/7kLqk3fireCdZxAZmCud3k","ArtistId":8,"Artist":{"Id":8,"ArtistName":{"name":"Corrosion of Conformity","id":"Corrosion of Conformity"},"Description":"One of the first punk-metal fusion bands, Corrosion of Conformity were formed in North Carolina by guitarist Woody Weatherman during the early '80s. In their early years, C.O.C. became known for their aggressive sound, intelligent political lyrics, and willingness to break away from both hardcore and metal conventions. In the '90s, their shift to a more stripped-down, deliberate sound -- sort of Black Sabbath filtered through the Deep South -- brought them enough in line with the alt metal Zeitgeist to bring them a measure of mainstream popularity. Then recently they turned back to their hardcore roots with ther 2012 and 2014 releases that mixes the raw","ImageUrl":"https://theobelisk.net/obelisk/wp-content/uploads/2012/01/coc.jpg","AmazonUrl":"http://theobelisk.net/obelisk/wp-content/uploads/2012/01/coc.jpg"},"Tracks":[{"Id":70,"AlbumId":15,"SongName":"The Shrouded Temples","Length":"2:36","Bytes":0,"UnitPrice":0},{"Id":71,"AlbumId":15,"SongName":"Damned for all Time","Length":"2:36","Bytes":0,"UnitPrice":0},{"Id":72,"AlbumId":15,"SongName":"Dance of the Dead","Length":"4:29","Bytes":0,"UnitPrice":0},{"Id":73,"AlbumId":15,"SongName":"Buried","Length":"5:16","Bytes":0,"UnitPrice":0}]}
376334

377335
------------------------------------------------------------------
378336

337+
GET http://west-wind.com/wconnect/testpage.wwd HTTP/1.1
338+
Accept-Encoding: gzip,deflate
339+
Websurge-Request-Inactive: 1
340+
Websurge-Request-Name: Test Page West Wind
341+
342+
------------------------------------------------------------------
343+
379344

380345
----- Start WebSurge Options -----
381346

382347
{
383-
"NoProgressEvents": false,
384-
"DelayTimeMs": 0,
385-
"NoContentDecompression": false,
386-
"CaptureMinimalResponseData": false,
387-
"MaxResponseSize": 0,
348+
"SiteBaseUrl": "https://localhost:5001/",
349+
"UpdateHeadersFromRequest": false,
388350
"ReplaceQueryStringValuePairs": null,
389-
"ReplaceDomain": "albumviewer.west-wind.com",
390351
"ReplaceCookieValue": null,
391-
"ReplaceAuthorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0IiwianRpIjoiNjgxMDU0NTctOGUwMi00ZThiLWEyZDYtNDkzNTY2MzExZjAxIiwiVXNlclN0YXRlIjoiVGVzdCBVc2VyfHRlc3R8fEZhbHNlfDF8bnVsbHw2MGJmZmExOCIsImV4cCI6MTU4NTYwNTMxMiwiaXNzIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIiwiYXVkIjoiaHR0cHM6Ly9hbGJ1bXZpZXdlci53ZXN0LXdpbmQuY29tIn0.ODZ2a5dF1XGxizvucdUfnjVE39z4v-ytdUMiU3_BFEc",
352+
"ReplaceAuthorization": "Bearer ",
392353
"Username": null,
393-
"Password": "",
354+
"Password": null,
394355
"Users": [],
356+
"NoProgressEvents": true,
357+
"DelayTimeMs": 0,
358+
"NoContentDecompression": true,
359+
"CaptureMinimalResponseData": false,
360+
"MaxResponseSize": 0,
395361
"RandomizeRequests": false,
396-
"RequestTimeoutMs": 15000,
362+
"RequestTimeoutMs": 5000,
397363
"WarmupSeconds": 2,
398-
"ReloadTemplates": false,
399-
"FormattedPreviewTheme": "visualstudio",
400-
"LastThreads": 12,
401364
"IgnoreCertificateErrors": false,
402365
"TrackPerSessionCookies": true,
403-
"LastSecondsToRun": 40
366+
"MaxConnections": 100
404367
}
405368

406369
// This file was generated by West Wind WebSurge

0 commit comments

Comments
 (0)