Skip to main content

Questions tagged [uri]

A Uniform Resource Identifier (or URI) is a string of characters used to identify a name or resource. URI is legacy terminology. In most cases, the term URL should be used instead.

1 vote
1 answer
33 views

PS function to populate IDs to URI

I have the following string $list = @("123","456","789") $template = "https://mysite.test/api/v1/policy/{id}/version/{id}/example" I am working on a function ...
Douda's user avatar
  • 178
0 votes
0 answers
29 views

Unable to upload zip.bin file using uri module

Using: ansible==2.10.5 ansible-base==2.10.17 I'm trying to convert a play where I'm using shell module to upload a file using curl to use URI and nothing works for me - name: install via shell ...
Batchen Regev's user avatar
0 votes
0 answers
14 views

UriFormatException "The Authority/Host could not be parsed.", relative file URI, Linux only

I am getting this error when trying to assemble an absolute file URI, using a relative file uri in the first place, with the file: or file:./ syntax for the relative URI. Any idea why this behaves ...
Erik Hart's user avatar
  • 1,204
-1 votes
0 answers
35 views

Android Java Invalid URI: content://media/picker_get_content/0/com.android.providers.media.photopicker/media/1000002282" problem

I think reading file paths has become more difficult after Android 11. Can you help me find a solution without disrupting the code structure? The error: "Invalid URI: content://media/...
Tumar's user avatar
  • 11
0 votes
0 answers
27 views

Loading Archive with URI [closed]

Im looking for a lib ou nuget package to loading torrent archives using magnetic links, the only ones I found are abandoned e doesn't work anymore. I try with MonoTorrent and libtorrent. MonoTorrent ...
default account's user avatar
0 votes
1 answer
20 views

Is it possible to get the exact requested resource for which a policy gets evaluated in Keycloak?

I want to develop a custom policy provider for Keycloak, that evaluates the decision based on the URI of the requested resource. The resource is /resource/{id}. If the client requests /resource/1 the ...
Legator4TM's user avatar
0 votes
3 answers
42 views

Why is my router causing not to read the css?

I created a router from scratch. It's a simple router : class Router { private static array $routes; public static function register($route = '/', $filename=''){ self::$routes[$route] ...
Zakaria DOUIH's user avatar
0 votes
0 answers
34 views

URL Protocol to Open URL in Specific Browser

I have tried to set a URL protocol to open a URL in a specific browser. Trying to replicate the way microsoft-edge: works. I have viv-window as below. It opens the program correctly but doesn't carry ...
JustLearning's user avatar
-2 votes
0 answers
14 views

RestAssured - Connection refused: connect [duplicate]

Exception in thread "main" java.net.ConnectException: Connection refused: connect Request URI: http://localhost:8080/https%3A%2F%2Frahulshettyacademy.com/maps/api/place/add/json?key=...
Er. Shivam Parashar's user avatar
1 vote
1 answer
30 views

How the pattern of URIs for an rdf graph should look like

I want to build an rdf knowledge-graph, but I am still unsure which pattern to use in my URIs. Should I also differentiate my classes, instances and properties in the path, for example like this: http:...
okai's user avatar
  • 13
0 votes
1 answer
33 views

How can I robustly combine URIs in C# to handle leading/trailing slashes? [duplicate]

I'm working on a C# project where I need to combine a base URL with various endpoints. However, I'm running into issues when the endpoint has a leading slash. For example: string baseUrl = "https:...
Alex Hovy's user avatar
0 votes
0 answers
29 views

joi schema uri validation not giving error for invalid uri

I have this joi schema for a field: link: Joi.string() .uri({ scheme: ['https'] }) .max(256) .required() .error((error: JoiError[]) => new Error('link not valid') as string)), and ...
Krutarth Dave's user avatar
0 votes
0 answers
15 views

Image URI problems after using Ucrop

I want to choose an image from the Gallery and crop it with a one to one ratio and display it, when clicked it is supposed, to open the gallery again and repeat the whole process, when I do it for the ...
Deimos's user avatar
  • 45
0 votes
0 answers
32 views

Xamarin.UWP: Build URL from own app to launch from ToastButton [duplicate]

I have a Xamarin.Forms app. In Package.appxmanifest of the UWP variant I added <uap:Extension Category="windows.protocol"> <uap:Protocol Name="my-app"> ...
Bernd Morgeneyer's user avatar
1 vote
1 answer
66 views

Weirdness with URI class in .NET

I found a weirdness with URI class in my .net framework 4.8 project. The strange thing is that the same code works differently in my simple console application and in the local copy of the production ...
Denis Kaminsky's user avatar

15 30 50 per page
1
2 3 4 5
412